import request from '@/utils/request'

// 查询列表
export function getList(query) {
  return request({
    url: '/policy/list',
    method: 'get',
    params: query
  })
}

export function getCoreList(query) {
  return request({
    url: '/policy/corePolicies',
    method: 'get',
    params: query
  })
}

export function update(query) {
  return request({
    url: '/policy/update',
    method: 'post',
    data: query
  })
}
